package com.ruoyi.common.enums;

/**
 * 用户状态
 * 
 * @author ruoyi
 */
public enum PaOrderStatus
{
    QUOTING("报价中", 1),
    CONFIRMED("确认报价（采购处理）", 2),
    CONTRACT_PENDING("待签合同(采购处理)", 3),
    IN_PRODUCTION("生产中（供应商处理）", 4),
    READY_TO_SHIP("拼柜待发货", 5),
    IN_TRANSIT("预计拖柜（运输中）", 6),
    COMPLETED("完成（采购处理）", 7),
    FAILED("失败", 8);

    private final String description;
    private final int code;

    PaOrderStatus(String description, int code) {
        this.description = description;
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public int getCode() {
        return code;
    }
}
